ipfs init
ipfs daemon
ipfs.ee {
header / Access-Control-Allow-Origin *
rewrite {
r /ipfs/(.*)/(.*)
to /ipfs/{1}
}
proxy /ipfs 127.0.0.1:8080 {
transparent
}
proxy /api/v0/add 127.0.0.1:5001 {
transparent
}
log /var/log/caddy/ipfs.ee.log
}